package com.ztf.file;

import cn.hutool.core.io.file.FileWriter;

/**
 * @projectName: javabase
 * @package: com.ztf.file
 * @className: FilreWriterTest
 * @author: kevin
 * @description: TODO
 * @date: 2022/6/16 0016 15:28
 * @version: 1.0
 */
public class FilreWriterTest {
    public static void main(String[] args) {
        String path = "E:\\tmp\\";
        FileWriter writer = new FileWriter(path+"test.properties");
        writer.write("test");
        writer.write("123456");
        writer.write("987654");
        writer.append("\n");
        writer.append("123123123");
    }
}
